<template>
  <view>
	  <view class="container"> 
	  	<button @click="()=>tools.toPage('fileUpload/fileUpload',2)">附件上传</button>
		<button @click="()=>tools.toPage('wxmlCanvas/wxmlCanvas',2)">小程序dom节点转图片</button>
	  </view> 
	  
	  <tabbar-app :selected="1"></tabbar-app>
  </view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app'
import { ref,reactive,inject } from 'vue'

const tools = inject("$tools")

</script>

<style lang="scss" scoped>
	.container{
		border:1px solid red;
	}
</style>